<%- include header %>
<form method="post">
	<div class="form-group">
		<input type="text" class="form-control" name="title" placeholder="标题" value="<%= art.title%>">		
	</div>

	<div class="form-group">
		<input type="text" class="form-control" name="tag" placeholder="标签" value="<%= art.tag%>">
	</div>
	
	<textarea class="form-control" name="content" placeholder="文章内容"><%= art.content %></textarea>

	<button type="submit" class="btn btn-success center-block">提交</button>

</form>
<% if(success) { %>
		<div class="alert alert-success alert-dismissible" role="alert">
			<button type="button" class="close" data-dismiss="alert" aria-label="Close">
				<span aria-hidden="true">&times;</span>
			</button>
			<%= success %>
		</div>
    
	<% } %>

<%- include footer %>